package net.lzzy.practicesapi1.constants;

public enum Messages {
    SUCCESS("操作成功"),
    WRONG_ID("错误的ID"),

    WRONG_PASSWORD("用户名密码错误"),
    USER_BANNED("该用户禁止登录");

    private final String name;

    Messages(String name) {
    this.name=name;
    }
    @Override
    public String toString(){
        return name;
    }
}
